<template lang=html>
	<wv-tabbar>
	    <wv-tabbar-item to="/">
	      <span slot="icon" style="display: inline-block; position: relative;">
	        <img class="weui-tabbar__icon" :src="thumbSmall" slot="icon">
	        <wv-badge style="position: absolute;top: -2px;right: -13px;">8</wv-badge>
	      </span>
	       微信
	    </wv-tabbar-item>
	    <wv-tabbar-item to="/" is-on>
	      <img class="weui-tabbar__icon" :src="thumbSmall" slot="icon"> 通讯录
	    </wv-tabbar-item>
	    <wv-tabbar-item to="/">
	      <span slot="icon" style="display: inline-block; position: relative;">
	        <img class="weui-tabbar__icon" :src="thumbSmall" slot="icon">
	        <wv-badge is-dot style="position: absolute;top: 0;right: -6px;">8</wv-badge>
	      </span>
	       发现
	    </wv-tabbar-item>
	    <wv-tabbar-item to="/">
	      <img class="weui-tabbar__icon" :src="thumbSmall" slot="icon"> 我
	    </wv-tabbar-item>
	</wv-tabbar>
</template>
<script>
	export default {
		props: ['Active'],
	  	data() {
		    return {
		      	thumbSmall: "https://passport.baidu.com/static/passpc-account/img/login/login-bg.png"
		    }
	  	},
	  	 // 加载执行
		created:function(){
			var conent = this;
			conent.active = this.Active;
		}
	}
</script>